const homeCategory = {
    namespaced: true,
    state: {
        categoryList: '',
        currentOne: '',
        // activeKey: 0
    },
    mutations: {
        // 设置导航列表
        setCategoryList(state, val) {
            state.categoryList = val.navData
            // console.log(state.categoryList);
        },
        // 设置当前的列表详情
        setCurrentOne(state, val) {
            state.currentOne = val.data
            // console.log(state.currentOne);
        },
    },
    actions: {

    },
    getters: {

    }
}
export default homeCategory
